<?php

use Biz\service\theParagraph\ShopBanner as sShopBanner;
/**
 * @deprecated
 */
class HomeBannerListAction extends ActionPlugin
{
    const USER_LEVEL = self::LEVEL_NOTHING;

    public function main()
    {
        $homeBanners = sShopBanner::bannerListForApp();
        if (!isset($homeBanners['home_page_top'])) {
            $homeBanners['home_page_top'] = [];
        }

        $this->setSuccess($homeBanners);

    }
}